package com.cm.structural.proxy.staticagent;

import com.cm.structural.proxy.SmsService;
import com.cm.structural.proxy.SmsServiceImpl;

/**
 * @author cm.g
 * @date 2023/9/9 17:24
 */
public class Main {
    public static void main(String[] args) {
        SmsService smsService = new SmsServiceImpl();
        SmsProxy smsProxy = new SmsProxy(smsService);
        smsProxy.send("java");
    }
}
